//
//  BaseListViewController.m
//  iOS
//
//  Created by gongkai on 15/1/19.
//  Copyright (c) 2015年 mokai. All rights reserved.
//

#import "BaseListViewController.h"

@interface BaseListViewController ()

@end

@implementation BaseListViewController

@synthesize tableView,tableViewData;


- (void)viewDidLoad {
    [super viewDidLoad];
    [self initUI];
}

-(void)initUI{
    self.tableView = [[UITableView alloc] initWithFrame:content_rect];
    self.tableView.delegate = self;
    self.tableView.dataSource = self;
    [self.view addSubview:self.tableView];
}

-(int)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return self.tableViewData.count;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}


@end
